﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PublishNews.Entities
{
    public class News: Entity
    {
        public string Title { get; set; }

        public string Content { get; set; }

        public Guid? CategoryId { get; set; }
        public virtual Category Category { get; set; }

        public Guid? LocationId { get; set; }
        public virtual Location Location { get; set; }

        public string UserId { get; set; }
        public virtual User User { get; set; }

        public string PhoneNumber { get; set; }
    }
}